package com.io;

import java.io.FileInputStream;
import java.io.IOException;

public class FISDemo2 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("./1.txt");
        while (true) {
            int read = fis.read();
            if (read == -1) {
                break;
            }
            System.out.print((char) read);
        }
        fis.close();
    }
}
